package com.itcncp.ucenter.dao.model;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class UserInvoiceInfoExample implements Serializable {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    private static final long serialVersionUID = 1L;

    public UserInvoiceInfoExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria implements Serializable {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andInvoiceIdIsNull() {
            addCriterion("invoice_id is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdIsNotNull() {
            addCriterion("invoice_id is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdEqualTo(Long value) {
            addCriterion("invoice_id =", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdNotEqualTo(Long value) {
            addCriterion("invoice_id <>", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdGreaterThan(Long value) {
            addCriterion("invoice_id >", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdGreaterThanOrEqualTo(Long value) {
            addCriterion("invoice_id >=", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdLessThan(Long value) {
            addCriterion("invoice_id <", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdLessThanOrEqualTo(Long value) {
            addCriterion("invoice_id <=", value, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdIn(List<Long> values) {
            addCriterion("invoice_id in", values, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdNotIn(List<Long> values) {
            addCriterion("invoice_id not in", values, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdBetween(Long value1, Long value2) {
            addCriterion("invoice_id between", value1, value2, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdNotBetween(Long value1, Long value2) {
            addCriterion("invoice_id not between", value1, value2, "invoiceId");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNull() {
            addCriterion("user_id is null");
            return (Criteria) this;
        }

        public Criteria andUserIdIsNotNull() {
            addCriterion("user_id is not null");
            return (Criteria) this;
        }

        public Criteria andUserIdEqualTo(Long value) {
            addCriterion("user_id =", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotEqualTo(Long value) {
            addCriterion("user_id <>", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThan(Long value) {
            addCriterion("user_id >", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdGreaterThanOrEqualTo(Long value) {
            addCriterion("user_id >=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThan(Long value) {
            addCriterion("user_id <", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdLessThanOrEqualTo(Long value) {
            addCriterion("user_id <=", value, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdIn(List<Long> values) {
            addCriterion("user_id in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotIn(List<Long> values) {
            addCriterion("user_id not in", values, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdBetween(Long value1, Long value2) {
            addCriterion("user_id between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andUserIdNotBetween(Long value1, Long value2) {
            addCriterion("user_id not between", value1, value2, "userId");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNull() {
            addCriterion("invoice_type is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIsNotNull() {
            addCriterion("invoice_type is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeEqualTo(Byte value) {
            addCriterion("invoice_type =", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotEqualTo(Byte value) {
            addCriterion("invoice_type <>", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThan(Byte value) {
            addCriterion("invoice_type >", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeGreaterThanOrEqualTo(Byte value) {
            addCriterion("invoice_type >=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThan(Byte value) {
            addCriterion("invoice_type <", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeLessThanOrEqualTo(Byte value) {
            addCriterion("invoice_type <=", value, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeIn(List<Byte> values) {
            addCriterion("invoice_type in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotIn(List<Byte> values) {
            addCriterion("invoice_type not in", values, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeBetween(Byte value1, Byte value2) {
            addCriterion("invoice_type between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceTypeNotBetween(Byte value1, Byte value2) {
            addCriterion("invoice_type not between", value1, value2, "invoiceType");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseIsNull() {
            addCriterion("invoice_rise is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseIsNotNull() {
            addCriterion("invoice_rise is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseEqualTo(String value) {
            addCriterion("invoice_rise =", value, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseNotEqualTo(String value) {
            addCriterion("invoice_rise <>", value, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseGreaterThan(String value) {
            addCriterion("invoice_rise >", value, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_rise >=", value, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseLessThan(String value) {
            addCriterion("invoice_rise <", value, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseLessThanOrEqualTo(String value) {
            addCriterion("invoice_rise <=", value, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseLike(String value) {
            addCriterion("invoice_rise like", value, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseNotLike(String value) {
            addCriterion("invoice_rise not like", value, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseIn(List<String> values) {
            addCriterion("invoice_rise in", values, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseNotIn(List<String> values) {
            addCriterion("invoice_rise not in", values, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseBetween(String value1, String value2) {
            addCriterion("invoice_rise between", value1, value2, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceRiseNotBetween(String value1, String value2) {
            addCriterion("invoice_rise not between", value1, value2, "invoiceRise");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentIsNull() {
            addCriterion("invoice_ident is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentIsNotNull() {
            addCriterion("invoice_ident is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentEqualTo(String value) {
            addCriterion("invoice_ident =", value, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentNotEqualTo(String value) {
            addCriterion("invoice_ident <>", value, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentGreaterThan(String value) {
            addCriterion("invoice_ident >", value, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentGreaterThanOrEqualTo(String value) {
            addCriterion("invoice_ident >=", value, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentLessThan(String value) {
            addCriterion("invoice_ident <", value, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentLessThanOrEqualTo(String value) {
            addCriterion("invoice_ident <=", value, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentLike(String value) {
            addCriterion("invoice_ident like", value, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentNotLike(String value) {
            addCriterion("invoice_ident not like", value, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentIn(List<String> values) {
            addCriterion("invoice_ident in", values, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentNotIn(List<String> values) {
            addCriterion("invoice_ident not in", values, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentBetween(String value1, String value2) {
            addCriterion("invoice_ident between", value1, value2, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andInvoiceIdentNotBetween(String value1, String value2) {
            addCriterion("invoice_ident not between", value1, value2, "invoiceIdent");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagIsNull() {
            addCriterion("default_flag is null");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagIsNotNull() {
            addCriterion("default_flag is not null");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagEqualTo(Byte value) {
            addCriterion("default_flag =", value, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagNotEqualTo(Byte value) {
            addCriterion("default_flag <>", value, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagGreaterThan(Byte value) {
            addCriterion("default_flag >", value, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagGreaterThanOrEqualTo(Byte value) {
            addCriterion("default_flag >=", value, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagLessThan(Byte value) {
            addCriterion("default_flag <", value, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagLessThanOrEqualTo(Byte value) {
            addCriterion("default_flag <=", value, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagIn(List<Byte> values) {
            addCriterion("default_flag in", values, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagNotIn(List<Byte> values) {
            addCriterion("default_flag not in", values, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagBetween(Byte value1, Byte value2) {
            addCriterion("default_flag between", value1, value2, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andDefaultFlagNotBetween(Byte value1, Byte value2) {
            addCriterion("default_flag not between", value1, value2, "defaultFlag");
            return (Criteria) this;
        }

        public Criteria andCustomTitleIsNull() {
            addCriterion("custom_title is null");
            return (Criteria) this;
        }

        public Criteria andCustomTitleIsNotNull() {
            addCriterion("custom_title is not null");
            return (Criteria) this;
        }

        public Criteria andCustomTitleEqualTo(String value) {
            addCriterion("custom_title =", value, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleNotEqualTo(String value) {
            addCriterion("custom_title <>", value, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleGreaterThan(String value) {
            addCriterion("custom_title >", value, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleGreaterThanOrEqualTo(String value) {
            addCriterion("custom_title >=", value, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleLessThan(String value) {
            addCriterion("custom_title <", value, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleLessThanOrEqualTo(String value) {
            addCriterion("custom_title <=", value, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleLike(String value) {
            addCriterion("custom_title like", value, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleNotLike(String value) {
            addCriterion("custom_title not like", value, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleIn(List<String> values) {
            addCriterion("custom_title in", values, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleNotIn(List<String> values) {
            addCriterion("custom_title not in", values, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleBetween(String value1, String value2) {
            addCriterion("custom_title between", value1, value2, "customTitle");
            return (Criteria) this;
        }

        public Criteria andCustomTitleNotBetween(String value1, String value2) {
            addCriterion("custom_title not between", value1, value2, "customTitle");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassIsNull() {
            addCriterion("invoice_class is null");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassIsNotNull() {
            addCriterion("invoice_class is not null");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassEqualTo(Byte value) {
            addCriterion("invoice_class =", value, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassNotEqualTo(Byte value) {
            addCriterion("invoice_class <>", value, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassGreaterThan(Byte value) {
            addCriterion("invoice_class >", value, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassGreaterThanOrEqualTo(Byte value) {
            addCriterion("invoice_class >=", value, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassLessThan(Byte value) {
            addCriterion("invoice_class <", value, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassLessThanOrEqualTo(Byte value) {
            addCriterion("invoice_class <=", value, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassIn(List<Byte> values) {
            addCriterion("invoice_class in", values, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassNotIn(List<Byte> values) {
            addCriterion("invoice_class not in", values, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassBetween(Byte value1, Byte value2) {
            addCriterion("invoice_class between", value1, value2, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andInvoiceClassNotBetween(Byte value1, Byte value2) {
            addCriterion("invoice_class not between", value1, value2, "invoiceClass");
            return (Criteria) this;
        }

        public Criteria andBankCardnoIsNull() {
            addCriterion("bank_cardno is null");
            return (Criteria) this;
        }

        public Criteria andBankCardnoIsNotNull() {
            addCriterion("bank_cardno is not null");
            return (Criteria) this;
        }

        public Criteria andBankCardnoEqualTo(String value) {
            addCriterion("bank_cardno =", value, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoNotEqualTo(String value) {
            addCriterion("bank_cardno <>", value, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoGreaterThan(String value) {
            addCriterion("bank_cardno >", value, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoGreaterThanOrEqualTo(String value) {
            addCriterion("bank_cardno >=", value, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoLessThan(String value) {
            addCriterion("bank_cardno <", value, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoLessThanOrEqualTo(String value) {
            addCriterion("bank_cardno <=", value, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoLike(String value) {
            addCriterion("bank_cardno like", value, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoNotLike(String value) {
            addCriterion("bank_cardno not like", value, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoIn(List<String> values) {
            addCriterion("bank_cardno in", values, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoNotIn(List<String> values) {
            addCriterion("bank_cardno not in", values, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoBetween(String value1, String value2) {
            addCriterion("bank_cardno between", value1, value2, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andBankCardnoNotBetween(String value1, String value2) {
            addCriterion("bank_cardno not between", value1, value2, "bankCardno");
            return (Criteria) this;
        }

        public Criteria andNameIsNull() {
            addCriterion("name is null");
            return (Criteria) this;
        }

        public Criteria andNameIsNotNull() {
            addCriterion("name is not null");
            return (Criteria) this;
        }

        public Criteria andNameEqualTo(String value) {
            addCriterion("name =", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotEqualTo(String value) {
            addCriterion("name <>", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThan(String value) {
            addCriterion("name >", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameGreaterThanOrEqualTo(String value) {
            addCriterion("name >=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThan(String value) {
            addCriterion("name <", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLessThanOrEqualTo(String value) {
            addCriterion("name <=", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameLike(String value) {
            addCriterion("name like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotLike(String value) {
            addCriterion("name not like", value, "name");
            return (Criteria) this;
        }

        public Criteria andNameIn(List<String> values) {
            addCriterion("name in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotIn(List<String> values) {
            addCriterion("name not in", values, "name");
            return (Criteria) this;
        }

        public Criteria andNameBetween(String value1, String value2) {
            addCriterion("name between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andNameNotBetween(String value1, String value2) {
            addCriterion("name not between", value1, value2, "name");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneIsNull() {
            addCriterion("mobile_phone is null");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneIsNotNull() {
            addCriterion("mobile_phone is not null");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneEqualTo(Long value) {
            addCriterion("mobile_phone =", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneNotEqualTo(Long value) {
            addCriterion("mobile_phone <>", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneGreaterThan(Long value) {
            addCriterion("mobile_phone >", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneGreaterThanOrEqualTo(Long value) {
            addCriterion("mobile_phone >=", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneLessThan(Long value) {
            addCriterion("mobile_phone <", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneLessThanOrEqualTo(Long value) {
            addCriterion("mobile_phone <=", value, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneIn(List<Long> values) {
            addCriterion("mobile_phone in", values, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneNotIn(List<Long> values) {
            addCriterion("mobile_phone not in", values, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneBetween(Long value1, Long value2) {
            addCriterion("mobile_phone between", value1, value2, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andMobilePhoneNotBetween(Long value1, Long value2) {
            addCriterion("mobile_phone not between", value1, value2, "mobilePhone");
            return (Criteria) this;
        }

        public Criteria andAreaIsNull() {
            addCriterion("area is null");
            return (Criteria) this;
        }

        public Criteria andAreaIsNotNull() {
            addCriterion("area is not null");
            return (Criteria) this;
        }

        public Criteria andAreaEqualTo(String value) {
            addCriterion("area =", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotEqualTo(String value) {
            addCriterion("area <>", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThan(String value) {
            addCriterion("area >", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaGreaterThanOrEqualTo(String value) {
            addCriterion("area >=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThan(String value) {
            addCriterion("area <", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLessThanOrEqualTo(String value) {
            addCriterion("area <=", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaLike(String value) {
            addCriterion("area like", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotLike(String value) {
            addCriterion("area not like", value, "area");
            return (Criteria) this;
        }

        public Criteria andAreaIn(List<String> values) {
            addCriterion("area in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotIn(List<String> values) {
            addCriterion("area not in", values, "area");
            return (Criteria) this;
        }

        public Criteria andAreaBetween(String value1, String value2) {
            addCriterion("area between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andAreaNotBetween(String value1, String value2) {
            addCriterion("area not between", value1, value2, "area");
            return (Criteria) this;
        }

        public Criteria andAddressIsNull() {
            addCriterion("address is null");
            return (Criteria) this;
        }

        public Criteria andAddressIsNotNull() {
            addCriterion("address is not null");
            return (Criteria) this;
        }

        public Criteria andAddressEqualTo(String value) {
            addCriterion("address =", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotEqualTo(String value) {
            addCriterion("address <>", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThan(String value) {
            addCriterion("address >", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressGreaterThanOrEqualTo(String value) {
            addCriterion("address >=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThan(String value) {
            addCriterion("address <", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLessThanOrEqualTo(String value) {
            addCriterion("address <=", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressLike(String value) {
            addCriterion("address like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotLike(String value) {
            addCriterion("address not like", value, "address");
            return (Criteria) this;
        }

        public Criteria andAddressIn(List<String> values) {
            addCriterion("address in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotIn(List<String> values) {
            addCriterion("address not in", values, "address");
            return (Criteria) this;
        }

        public Criteria andAddressBetween(String value1, String value2) {
            addCriterion("address between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andAddressNotBetween(String value1, String value2) {
            addCriterion("address not between", value1, value2, "address");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("create_time is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("create_time is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("create_time =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("create_time <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("create_time >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("create_time >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("create_time <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("create_time <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("create_time in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("create_time not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("create_time between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("create_time not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNull() {
            addCriterion("remark is null");
            return (Criteria) this;
        }

        public Criteria andRemarkIsNotNull() {
            addCriterion("remark is not null");
            return (Criteria) this;
        }

        public Criteria andRemarkEqualTo(String value) {
            addCriterion("remark =", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotEqualTo(String value) {
            addCriterion("remark <>", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThan(String value) {
            addCriterion("remark >", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkGreaterThanOrEqualTo(String value) {
            addCriterion("remark >=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThan(String value) {
            addCriterion("remark <", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLessThanOrEqualTo(String value) {
            addCriterion("remark <=", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkLike(String value) {
            addCriterion("remark like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotLike(String value) {
            addCriterion("remark not like", value, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkIn(List<String> values) {
            addCriterion("remark in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotIn(List<String> values) {
            addCriterion("remark not in", values, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkBetween(String value1, String value2) {
            addCriterion("remark between", value1, value2, "remark");
            return (Criteria) this;
        }

        public Criteria andRemarkNotBetween(String value1, String value2) {
            addCriterion("remark not between", value1, value2, "remark");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria implements Serializable {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion implements Serializable {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}